Bring mumbleclean targets into conformance with GNU coding standards.
authorJim Blandy <jimb@redhat.com>
Wed, 16 Jun 1993 16:32:32 +0000 (16:32 +0000)
committerJim Blandy <jimb@redhat.com>
Wed, 16 Jun 1993 16:32:32 +0000 (16:32 +0000)
* Makefile.in (mostlyclean): New target.
(clean): Just call mostlyclean.  Get rid of ../etc/DOC too.
(distclean): Use clean to do most of the work.
Get rid of ../etc/DOC-* too.
(realclean): New target.

src/Makefile.in

index 4698ea1758bd62a2776e081f1e826e7a38e82ed2..ffeb640bec99a206a646410fce1896d59ab17286 100644 (file)
@@ -28,17 +28,19 @@ all: doall
 doall: xmakefile
        $(MAKE) ${SUBMAKEFLAGS} -f xmakefile ${MFLAGS} all
 
+mostlyclean:
+       rm -f temacs emacs prefix-args xmakefile* core \#* *.o libXMenu11.a
+       rm -f ../etc/DOC
+clean: mostlyclean
+       true
 #This is used in making a distribution.
 #Do not use it on development directories!
-distclean:
-       -rm -f paths.h config.h emacs-* temacs emacs xmakefile core *.o
-
-clean:
-       -rm -f temacs emacs prefix-args xmakefile* core \#* *.o libXMenu11.a
-
+distclean: clean
+       rm -f paths.h config.h emacs-* ../etc/DOC-*
+realclean: distclean
+       rm -f TAGS
 versionclean:
        -rm -f emacs emacs-* ../etc/DOC*
-
 extraclean: distclean
        -rm -f *~ \#* m/*~ s/*~